package com.netease.pris.activity.view;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.text.TextUtils;
import android.widget.ProgressBar;
import com.netease.g.b;
import com.netease.imageex.ImageViewTouch;

class bo extends com.netease.image.a
{
  bo(PrisImageView paramPrisImageView)
  {
  }

  public void a(String paramString, Bitmap paramBitmap)
  {
    boolean bool1 = true;
    if ((PrisImageView.a(this.a) == null) || (!PrisImageView.b(this.a).toString().equals(paramString)))
      return;
    if (paramBitmap == null)
      b.c("PrisImageView", "bitmap is null");
    PrisImageView.c(this.a).setVisibility(8);
    if (paramBitmap == null);
    while (true)
    {
      try
      {
        if (PrisImageView.d(this.a) == null)
          break label296;
        PrisImageView.a(this.a).a(PrisImageView.d(this.a), true, false);
        if (PrisImageView.f(this.a) != PrisImageView.g(this.a))
          continue;
        PrisImageView.a(this.a).a(new bm(this));
        this.a.b = true;
        bh localbh = new bh(this.a, true, false);
        if (PrisImageView.h(this.a) == null)
          continue;
        PrisImageView.h(this.a).a(-1, 106, localbh);
        boolean bool2 = bh.a(localbh);
        if ((TextUtils.isEmpty(PrisImageView.i(this.a).g())) || (!bh.b(localbh)))
          break label357;
        bool3 = bool1;
        PrisImageView localPrisImageView = this.a;
        if ((!bool2) || (!bool3))
          break label363;
        localPrisImageView.b(bool1);
        if (PrisImageView.h(this.a) == null)
          break;
        PrisImageView.h(this.a).a(-1, 102, null);
      }
      catch (OutOfMemoryError localOutOfMemoryError)
      {
        localOutOfMemoryError.printStackTrace();
        PrisImageView.a(this.a).setImageBitmap(null);
        System.gc();
        PrisImageView.a(this.a).setImageResource(2130837747);
      }
      break;
      label296: PrisImageView.a(this.a, BitmapFactory.decodeResource(PrisImageView.e(this.a).getResources(), 2130837747));
      PrisImageView.a(this.a).a(PrisImageView.d(this.a), true, false);
      continue;
      PrisImageView.a(this.a).a(paramBitmap, true, false);
      continue;
      label357: boolean bool3 = false;
      continue;
      label363: bool1 = false;
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.view.bo
 * JD-Core Version:    0.6.0
 */